{% block fonctionalite_status %}

    {% if fonctionalite.tache_set.count  %}
        {{fonctionalite.status}} ({{fonctionalite.tache_set.count}} tache(s))
        <table>
            {% for row in fonctionalite.status_report %}
                <tr>
                    <td align=right>{{row.label}}</td>
                    <td>{{row.percent}}%</td>
                    <td>{{row.count}}</td>
                </tr>
            {% endfor %}
        </table>
    {% else %}
        No Task in this Functionality
    {% endif %}
    
{% endblock fonctionalite_status %}